package com.zoffy.oj_backend.judge.codesandbox.impl.ExampleCodeSandbox.codeExcuter;

import com.zoffy.oj_backend.judge.codesandbox.model.ExecuteMessage;

import java.io.File;
import java.util.List;

public interface CodeExecutor {
    File saveCode2File(String code);

    ExecuteMessage compileCode(File codeFile);

    List<ExecuteMessage> runCodeFile(File file, List<String> inputList);
}
